<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.prime.com.tr/ui"
	template="/WEB-INF/jsf/template.xhtml">

	<ui:define name="content">
		<h:form prependId="false">
			<p:commandButton image="back" ajax="false" immediate="true" style="margin-right:20px;" value="#{etablissementsbancairesmsgs['navigation.back']}" action="/jsf/etablissementsbancaires/viewEtablissementsBancaires.xhtml"/>
		
			<p:panel header="#{etablissementsbancairesmsgs['guichets.title']} Details" style="margin-top:10px">
				<p:messages />
				<h:panelGrid id="detail" columns="2" styleClass="grid" columnClasses="label,value">
					<h:outputText value="#{etablissementsbancairesmsgs['guichets.guietablissement.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.guichetses.guiEtablissement}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['guichets.guiguichet.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.guichetses.guiGuichet}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['guichets.guipays.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.guichetses.guiPays}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['guichets.guidomiciliation.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.guichetses.guiDomiciliation}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['guichets.guiadresseprelevement.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.guichetses.guiAdressePrelevement}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['guichets.guicontactprelevement.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.guichetses.guiContactPrelevement}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['guichets.guichronotrace.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.guichetses.guiChronoTrace}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['guichets.guinomguichet.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.guichetses.guiNomGuichet}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['guichets.guicodenouvetablissement.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.guichetses.guiCodeNouvEtablissement}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['guichets.guinouvguichet.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.guichetses.guiNouvGuichet}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['guichets.guilocalitecompensation1.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.guichetses.guiLocaliteCompensation1}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['guichets.guilocalitecompensation2.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.guichetses.guiLocaliteCompensation2}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['guichets.guidebutvalidite.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.guichetses.guiDebutValidite}"  converter="dateConverterForCalendar" />
					<h:outputText value="#{etablissementsbancairesmsgs['guichets.guifinvalidite.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.guichetses.guiFinValidite}"  converter="dateConverterForCalendar" />
					<h:outputText value="#{etablissementsbancairesmsgs['guichets.guidisparition.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.guichetses.guiDisparition}"  converter="dateConverterForCalendar" />
					<h:outputText value="#{etablissementsbancairesmsgs['guichets.guinatureguichet.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.guichetses.guiNatureGuichet}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['guichets.guicodesituation.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.guichetses.guiCodeSituation}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['guichets.guitiers.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.guichetses.guiTiers}"/>
         			<h:panelGroup>
         				<p:commandButton image="delete" ajax="false" style="margin-right:20px;" value="#{etablissementsbancairesmsgs['navigation.delete']}" action="#{EtablissementsBancairesComponent.deleteEtablissementsBancairesGuichetses(EtablissementsBancairesComponent.etablissementsbancaires.etbPays, EtablissementsBancairesComponent.etablissementsbancaires.etbEtablissement, EtablissementsBancairesComponent.guichetses.guiEtablissement, EtablissementsBancairesComponent.guichetses.guiGuichet, EtablissementsBancairesComponent.guichetses.guiPays)}"/>
         			</h:panelGroup>
				</h:panelGrid>
			</p:panel>

		</h:form>
	</ui:define>
</ui:composition>